package timetable;

import java.util.Collection;

import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

import student.Student;

public interface TimetableHome extends EJBLocalHome 
{
	public Timetable create(String name, int day, int month, int year, int hour, int minute,Student student) throws CreateException;
    
    public Timetable findByPrimaryKey(int pk) throws FinderException;
    public Collection<Timetable> findByDayMonthYear(int day,int month,int year) throws FinderException;
	public Collection<Timetable> findAllTimeTables() throws FinderException;

}
